﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;


namespace BenchmarkApp
{
    class TestsetImage
    {
        /// <summary>
        /// Class that represents a Testset Image.
        /// </summary>
        /// <param name="sourcePhoto">The testset image</param>
        /// <param name="filename">name of the file that contains the testset image</param>
        public TestsetImage(Bitmap sourcePhoto, String filename, String[] numberplateChars)
        {
            _sourceImage = sourcePhoto;
            _fileName = filename;
            _originalCharacters = numberplateChars;
        }
        private Bitmap _sourceImage;
        private String _fileName;
        private String[] _originalCharacters;
        private String[] _foundCharacters;

        /// <summary>
        /// The Source Image
        /// </summary>
        public Bitmap SourceImage
        {
            get
            {
                return _sourceImage;
            }
            set
            {
                _sourceImage = value;
            }
        }

        /// <summary>
        /// The filename of this testset image
        /// </summary>
        public String fileName
        {
            get
            {
                return _fileName;
            }
        }

        /// <summary>
        /// The characters that were provided in the XML ImageList
        /// </summary>
        public String[] originalCharacters
        {
            get
            {
                return _originalCharacters;
            }
            set
            {
                _originalCharacters = value;
            }
        }

        /// <summary>
        /// The characters that were found in the image
        /// </summary>
        public String[] foundCharacters
        {
            get
            {
                return _foundCharacters;
            }
            set
            {
                _foundCharacters = value;
            }
        }
    }
}
